<slider id="left_menu">
	<ul class="list-group">
		
		<li class="list-group-item">
			<a href="#">
				<span class="glyphicon glyphicon-user"></span>用户管理
			</a>
			<ul class="list-group">
        		<li class="list-group-item">
					<a href="{:U('User/index')}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>用户管理
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('JcConfig/edit', ['group'=>'distribution'])}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>分销设置
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('Dealer/index')}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>经销商管理
					</a>
				</li>
        		<li class="list-group-item">
					<a href="{:U('Sms/send')}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>全发消息
					</a>
				</li>
        		<li class="list-group-item">
					<a href="{:U('ShareMahjong/index')}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>共享麻将机
					</a>
				</li>
        		<li class="list-group-item">
					<a href="{:U('JcConfig/edit', ['group'=>'share_mahjong'])}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>共享麻将机配置
					</a>
				</li>
        		<li class="list-group-item">
					<a href="{:U('Withdrawals/index')}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>提现管理
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('JcConfig/edit', ['group'=>'withdrawals'])}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>提现设置
					</a>
				</li>
        		<li class="list-group-item">
					<a href="{:U('AwardLevel/index')}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>奖励等级
					</a>
				</li>
			</ul>
		</li>
		<li class="list-group-item">
			<a href="#">
				<span class="glyphicon glyphicon-user"></span>会员号管理
			</a>
			<ul class="list-group">
        		<li class="list-group-item ">
					<a href="{:U('MemberNoGj/index')}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>得奖用户
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('MemberNoGoods/index')}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>商品管理
					</a>
				</li>
			</ul>
		</li>

		<li class="list-group-item">
			<a href="#">
				<span class="glyphicon glyphicon-user"></span>棋牌室管理
			</a>
			<ul class="list-group">
        		<li class="list-group-item ">
					<a href="{:U('RuZhu/index')}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>入驻申请
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('Store/index')}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>店铺管理
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('StoreType/index')}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>分类管理
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('CouponTpls/index')}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>优惠券模板管理
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('ShopCoupons/index')}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>商家优惠券管理
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('ShopCoupons/users')}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>领券用户记录
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('Vouchers/index')}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>抵用券管理
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('ShopActivityTpls/index')}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>活动模板管理
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('ShopCof/index')}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>商家朋友圈管理
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('ShopTechnician/index')}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>商家技师管理
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('JcConfig/edit', ['group'=>'store'])}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>棋牌室详情图片
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('ShopStaff/index')}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>员工管理
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('ShopCustomer/index')}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>客户管理
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('ShopSales/index')}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>年度报表
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('JcConfig/edit', ['group'=>'shop_glrj'])}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>管理软件配置
					</a>
				</li>
			</ul>
		</li>
		<li class="list-group-item">
			<a href="#">
				<span class="glyphicon glyphicon-user"></span>附近人管理
			</a>
			<ul class="list-group">
				<li class="list-group-item ">
					<a href="{:U('NearbyPeople/index')}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>附近人
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('LoveTalk/index')}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>恋爱话术
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('JpTalk/index')}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>精辟话术
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('JcConfig/edit', ['group'=>'jp_talk'])}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>精辟话术会员卡
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('Counselor/index')}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>情感咨询师
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('NearbyVideo/index')}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>语音视频
					</a>
				</li>
			</ul>
		</li>
		<li class="list-group-item">
			<a href="#">
				<span class="glyphicon glyphicon-user"></span>维修工管理
			</a>
			<ul class="list-group">
				<li class="list-group-item ">
					<a href="{:U('Maintainer/apply')}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>入驻申请
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('Maintainer/index')}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>维修工管理
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('JcConfig/edit', ['group'=>'wxg'])}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>维修工设置
					</a>
				</li>
			</ul>
		</li>
		<li class="list-group-item">
			<a href="#">
				<span class="glyphicon glyphicon-folder-close"></span>签到奖品管理
			</a>
			<ul class="list-group">
				<li class="list-group-item ">
					<a href="{:U('Prizes/index')}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>签到奖品
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('Prizes/winning')}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>中奖用户
					</a>
				</li>
			</ul>
		</li>
		<li class="list-group-item">
			<a href="#">
				<span class="glyphicon glyphicon-folder-close"></span>品牌管理
			</a>
			<ul class="list-group">
				<!-- <li class="list-group-item ">
					<a href="{:U('Brand/apply')}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>入驻申请
					</a>
				</li> -->
				<li class="list-group-item ">
					<a href="{:U('Brand/index')}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>品牌管理
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('Brand/product_apply')}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>产品修改申请
					</a>
				</li>
			</ul>
		</li>
		<li class="list-group-item">
			<a href="#">
				<span class="glyphicon glyphicon-folder-close"></span>免费打牌管理
			</a>
			<ul class="list-group">
				<li class="list-group-item ">
					<a href="{:U('FreePlay/apply')}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>免费打牌申请
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('FreePlay/index')}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>免费打牌管理
					</a>
				</li>
			</ul>
		</li>
		<li class="list-group-item">
			<a href="#">
				<span class="glyphicon glyphicon-folder-close"></span>附近麻将机店管理
			</a>
			<ul class="list-group">
				<li class="list-group-item ">
					<a href="{:U('NearbyShop/apply')}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>附近麻将机店申请
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('NearbyShop/index')}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>附近麻将机店管理
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('NearbyShop/goods')}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>商品列表
					</a>
				</li>
			</ul>
		</li>

		<li class="list-group-item">
			<a href="#">
				<span class="glyphicon glyphicon-shopping-cart"></span>商品管理
			</a>
			<ul class="list-group">
        		<li class="list-group-item ">
					<a href="{:U('Product/index')}" target="mainFrame">
						<span class="glyphicon glyphicon-shopping-cart"></span>商品列表
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('Product/category')}" target="mainFrame">
						<span class="glyphicon glyphicon-shopping-cart"></span>商品分类
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('Order/index')}" target="mainFrame">
						<span class="glyphicon glyphicon-shopping-cart"></span>订单列表
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('Order/return_list')}" target="mainFrame">
						<span class="glyphicon glyphicon-shopping-cart"></span>退款列表
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('Product/shopindex')}" target="mainFrame">
						<span class="glyphicon glyphicon-shopping-cart"></span>轮播图管理
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('Product/advertising')}" target="mainFrame">
						<span class="glyphicon glyphicon-shopping-cart"></span>广告位管理
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('JcConfig/edit', ['group'=>'product'])}" target="mainFrame">
						<span class="glyphicon glyphicon-user"></span>商城设置
					</a>
				</li> 
			</ul>
		</li>
		
		<li class="list-group-item">
			<a href="#">
				<span class="glyphicon glyphicon-facetime-video"></span>直播管理
			</a>
			<ul class="list-group">
				<li class="list-group-item ">
					<a href="{:U('LiveVideo/index')}" target="mainFrame">
						<span class="glyphicon glyphicon-facetime-video"></span>直播列表
					</a>
				</li>
			</ul>
		</li>
		<li class="list-group-item">
			<a href="#">
				<span class="glyphicon glyphicon-folder-close"></span>集采管理
			</a>
			<ul class="list-group">
				<li class="list-group-item ">
					<a href="{:U('JcGoods/index')}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>商品管理
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('JcOrder/index')}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>订单管理
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('JcStaff/index')}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>员工管理
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('JcCustomer/index')}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>客户管理
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('JcSales/index')}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>年度报表
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('JcCategory/index')}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>分类管理
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('JcGift/index')}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>礼品管理
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('JcService/index')}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>客服管理
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('JcConfig/edit', ['group'=>'jc'])}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>集采设置
					</a>
				</li>
			</ul>
		</li>
		
		<li class="list-group-item">
			<a href="#">
				<span class="glyphicon glyphicon-list-alt"></span>论坛管理
			</a>
			<ul class="list-group">
        		<li class="list-group-item ">
					<a href="{:U('Category/bbs')}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>板块管理
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('Bbs/index')}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>帖子管理
					</a>
				</li>
				
				
			</ul>
		</li>
		
		<li class="list-group-item">
			<a href="#">
				<span class="glyphicon glyphicon-edit"></span>表单列表
			</a>
			<ul class="list-group">
        		<li class="list-group-item ">
					<a href="{:U('Repairs/index')}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>报修申请
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('Join/index')}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>加盟申请
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('Form/seme')}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>咨询客服
					</a>
				</li>
				
				
			</ul>
		</li>
		<li class="list-group-item">
			<a href="#">
				<span class="glyphicon glyphicon-header"></span>资讯管理
			</a>
			<ul class="list-group">
				<li class="list-group-item ">
					<a href="{:U('Category/index')}?id=3" target="mainFrame">
						<span class="glyphicon glyphicon-th-large"></span>分类管理
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('Article/index')}" target="mainFrame">
						<span class="glyphicon glyphicon-list"></span>文章列表
					</a>
				</li>
        		<li class="list-group-item ">
					<a href="{:U('Article/advertising')}" target="mainFrame">
						<span class="glyphicon glyphicon-picture"></span>文章底部广告
					</a>
				</li>
				
				<li class="list-group-item ">
					<a href="{:U('Article/up_show')}?id=1" target="mainFrame">
						<span class="glyphicon glyphicon-font"></span>关于我们
					</a>
				</li>
				
				<li class="list-group-item ">
					<a href="{:U('Article/up_show')}?id=2" target="mainFrame">
						<span class="glyphicon glyphicon-tag"></span>软件介绍
					</a>
				</li>
				
			</ul>
		</li>
		
		<!--<li class="list-group-item">
			<a href="#">
				<span class="glyphicon glyphicon-send"></span>Api管理
			</a>
			<ul class="list-group">
				<li class="list-group-item ">
					<a href="{:U('Api/index')}" target="mainFrame">
						<span class="glyphicon glyphicon-send"></span>Api管理
					</a>
				</li>
				
				
			</ul>
		</li>-->
		
	  <!--   <li class="list-group-item">
				<a href="#">
					<span class="glyphicon glyphicon-th"></span>类别管理
				</a>
				<ul class="list-group">
	        		<li class="list-group-item ">
						<a href="{:U('Category/index')}?id=1" target="mainFrame">
							<span class="glyphicon glyphicon-th-large"></span>论坛类别管理
						</a>
					</li>
					<li class="list-group-item ">
						<a href="{:U('Category/index')}?id=2" target="mainFrame">
							<span class="glyphicon glyphicon-th-large"></span>表单类别管理
						</a>
					</li>
					<li class="list-group-item ">
						<a href="{:U('Category/index')}?id=3" target="mainFrame">
							<span class="glyphicon glyphicon-th-large"></span>文章类别管理
						</a>
					</li>
					
				</ul>
		</li>-->
		
        <li class="list-group-item">
			<a href="#">
				<span class="glyphicon glyphicon-cog"></span>系统设置
			</a>
			<ul class="list-group">
				<li class="list-group-item ">
					<a href="{:U('JcConfig/edit', ['group'=>'appad'])}" target="mainFrame">
						<span class="glyphicon glyphicon-user"></span>打开APP广告管理
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('JcConfig/edit', ['group'=>'icon'])}" target="mainFrame">
						<span class="glyphicon glyphicon-print"></span>App图标配置
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('Index/img')}" target="mainFrame">
						<span class="glyphicon glyphicon-user"></span>首页轮播图管理
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('JcConfig/edit', ['group'=>'home_img'])}" target="mainFrame">
						<span class="glyphicon glyphicon-user"></span>首页图片
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('Slider/index')}" target="mainFrame">
						<span class="glyphicon glyphicon-user"></span>轮播图管理
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('Ad/index')}" target="mainFrame">
						<span class="glyphicon glyphicon-user"></span>广告管理
					</a>
				</li>
				<li class="list-group-item ">
					<a href="{:U('Index/version_index')}" target="mainFrame">
						<span class="glyphicon glyphicon-user"></span>版本控制
					</a>
				</li> 
        		<li class="list-group-item ">
					<a href="{:U('Access/manager')}" target="mainFrame">
						<span class="glyphicon glyphicon-user"></span>管理员管理
					</a>
				</li> 
        		<li class="list-group-item ">
					<a href="{:U('Access/role')}" target="mainFrame">
						<span class="glyphicon glyphicon-road"></span>角色管理
					</a>
				</li> 
        		<li class="list-group-item ">
					<a href="{:U('Access/node')}" target="mainFrame">
						<span class="glyphicon glyphicon-th-list"></span>节点管理
					</a>
				</li> 
        		<li class="list-group-item ">
					<a href="{:U('Cache/index')}" target="mainFrame">
						<span class="glyphicon glyphicon-trash"></span>清除缓存
					</a>
				</li>
			</ul>
		</li> 
    </ul>
</slider> 


<script language="javascript">
$(function(){
	$('#left_menu>ul>li>a').click(function(){
		if($(this).hasClass('opened')){
			$(this).removeClass('opened');
			$(this).next('.list-group').slideUp('fast');
		}else{
			$('#left_menu>ul>li>a.opened').removeClass('opened');
			$(this).addClass('opened');
			$('#left_menu li ul').slideUp('fast');
			$(this).next('.list-group').slideDown('fast');
		}
		return false;
	});
	$('#left_menu li ul li a').click(function(){
		if(!$(this).hasClass('opened')){
			$('#left_menu li ul li a.opened').removeClass('opened');
			$(this).addClass('opened');
		}
	}); 
	$('#left_menu .list-group a').click(function(){
		var html = '<li class="active">'+$(this).html()+'</li>';
		if($(this).parents('.list-group').prev('a').length>0){
			html = '<li>'+$(this).parents('.list-group').prev('a').html()+'</li>'+html;
		}
		$('#breadcrumb').html(html);
	}); 
});
</script>